x86/pv: Use xmemdup() for cpuidmasks, rather than opencoding it
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 15 Aug 2018 09:53:53 +0000 (10:53 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 15 Aug 2018 13:54:50 +0000 (14:54 +0100)
commit3dd454c6c694409aaedd4ed075d6aeace2dd8391
tree2fddcb0121fcdd1cdd45e2d077fbe533865214b1
parent35851408e9738026ca418527e4dcb8aff1960a52
x86/pv: Use xmemdup() for cpuidmasks, rather than opencoding it

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/pv/domain.c